package com.example.myapplication.databinding.bean.vegetable;

import androidx.lifecycle.MutableLiveData;

/**
 * Created by xiaolong on 2022/1/2 8:54 下午
 * email：xinxiaolong123@foxmail.com
 */
public class VegetableViewModel {

    private MutableLiveData<Vegetable> mVegetable = new MutableLiveData<>();

    public MutableLiveData<Vegetable> getVegetable() {
        return mVegetable;
    }

    public void setVegetable(Vegetable vegetable) {
        this.mVegetable = new MutableLiveData<>(vegetable);
    }


}

